package com.xlh.dao.course;

import com.xlh.pojo.course.StepChapter;
import com.xlh.pojo.course.StepChapterExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StepChapterMapper {
    long countByExample(StepChapterExample example);

    int deleteByExample(StepChapterExample example);

    int deleteByPrimaryKey(Long id);

    int insert(StepChapter record);

    int insertSelective(StepChapter record);

    List<StepChapter> selectByExample(StepChapterExample example);

    StepChapter selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") StepChapter record, @Param("example") StepChapterExample example);

    int updateByExample(@Param("record") StepChapter record, @Param("example") StepChapterExample example);

    int updateByPrimaryKeySelective(StepChapter record);

    int updateByPrimaryKey(StepChapter record);
}